import { createRouter, createWebHistory } from 'vue-router'
import AchievementDisplay from '@/views/AchievementDisplay.vue'
import AchievementManage from '@/views/AchievementManage.vue'

const routes = [
  { path: '/', redirect: '/display' },
  { path: '/display', component: AchievementDisplay },
  { path: '/manage', component: AchievementManage }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router